﻿<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeFile="AddRecvFile.aspx.cs" Inherits="RecvFile_AddRecvFile" %>

<%@ Register src="ucRecvFileDetail.ascx" tagname="ucRecvFileDetail" tagprefix="uc1" %>

<%@ Register src="ucInstructionRecvFileDetail.ascx" tagname="ucInstructionRecvFileDetail" tagprefix="uc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>登记收文</title>
    <link href="../css/f_css.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="../js/jquery-1.2.6.pack.js"></script>
    <script language="javascript" type="text/javascript" src="../js/subMsg.js"></script>
    <script language="javascript" type="text/javascript" src="../js/common.js"></script>
    <script language="javascript" type="text/javascript">
    </script>
    <style type="text/css">
        table.tbldetail
        {
            width:99%;
        }
        table.tbldetail td
        {
            vertical-align:middle;
        }
    </style>
    <script language="javascript" type="text/javascript">
        function onRFTypeSelectChanged(element) {
            var selected = element.options[element.selectedIndex];
            window.location.href = "AddRecvFile.aspx?type=" + selected.value;
        }
        function onRFSelected(e) {
            var selected = e.options[e.selectedIndex];
            if (id_txtRFName) {
                getx(id_txtRFName).value = selected.text;
                getx(id_hfRFIndex).value = selected.value;
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="titleText">
        添加任务
    </div>
    <div class="btdiv2">
            <asp:Button ID="btnSave" runat="server" CssClass="input00" Text="保存" 
                onclick="btnSave_Click" ValidationGroup="submit" />
    </div>
    <table style="width:100%;">
    <tr>
        <td style="vertical-align:top; padding:5px;">
            <asp:PlaceHolder runat="server" ID="phContainer"></asp:PlaceHolder>
        </td>
        <td style="width:270px; background:#eee; vertical-align:top;">
                <asp:DropDownList runat="server" ID="drpRFType" Width="100%">
                <asp:ListItem Text="官方收文" Value="1"></asp:ListItem>
                <asp:ListItem Text="客户新申请指示函" Value="2"></asp:ListItem>
                <asp:ListItem Text="客户其它函件" Value="3"></asp:ListItem>
            </asp:DropDownList> 
            <br />
            <asp:ListBox ID="lbRF" Width="100%" Height="500px" runat="server">
            </asp:ListBox>
        </td>
    </tr>
    </table>
    </form>
  
</body>
</html>
